import request from "@/utils/request";

export function getList(params) {
  return request.get("/admin/editor/index", { params });
}

export function create(data){
 return request.post('/admin/editor/create',data)
}

export function update(data){
  return request.post('/admin/editor/update',data)
}

export function remove(id){
  return request.get('/admin/editor/remove/id/'+id)
}
